#ifndef RIGHTENDMF_H
#define RIGHTENDMF_H

#include "graphicalmf.h"

class RightEndMF : public GraphicalMF
{
public:
    RightEndMF();
    RightEndMF(double newPoints[]);

    ~RightEndMF();

    void paint(QPainter* painter,
               const double &xShift,
               const double &xScale,
               const double &yShift,
               const double &yScale) const;

    /** Calculation classes */
    void calculateCentroid();
    void calculateProbability (const double& crispInput);
};

#endif // RIGHTENDMF_H
